package com.rceeslca.modules.cam.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rceeslca.modules.cam.vo.AttenCourseVo;
import com.rceeslca.modules.cam.vo.CamStudentCourseVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * 考勤
 */
@Mapper
public interface CamAttenDao {

    /**
     * 分页查询学生课程考勤
     */
    IPage<AttenCourseVo> pageStuAttenCourse(Page<AttenCourseVo> page, Long studentId,String courseName,String teacherName);


    /**
     * 分页查询教师管理员课程考勤
     */
    IPage<AttenCourseVo> pageTeaAdmAttenCourse(Page<AttenCourseVo> page, Long teacherId,String courseName,String teacherName);


    /**
     * 分页查询学生课程考勤
     */
    IPage<AttenCourseVo> pageAttenLeave(Page<AttenCourseVo> page, Long studentId,Long teacherId,String studentName,String teacherName,String courseName);


    /**
     * 分页查询课程详情
     */
    IPage<AttenCourseVo> pageCourseItem(Page<AttenCourseVo> page, Long courseId);

}
